package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;


/**
 * 纸棺装棺确认表Entity
 * 
 * @author generator
 * @date 2020-08-23 18:11
 */
@MyTable(value = "CoffinConfirmEntity", name = "coffin_confirm", comment = "纸棺装棺确认表")
public class CoffinConfirmEntity extends BaseEntity {
    /**
     * 业务编码
     */
    @MyColumn(value = "businessCode", name = "business_code", comment = "业务编码", required = true)
    private String businessCode;

    /**
     * 服务项目外键
     */
    @MyColumn(value = "serviceItemId", name = "service_item_id", comment = "服务项目外键", required = true)
    private Integer serviceItemId;

    /**
     * 二维码
     */
    @MyColumn(value = "qrCode", name = "qr_code", comment = "二维码", required = true)
    private String qrCode;

    /**
     * 随机码
     */
    @MyColumn(value = "randomCode", name = "random_code", comment = "随机码")
    private String randomCode;

    /**
     * 费用外键
     */
    @MyColumn(value = "chargeId", name = "charge_id", comment = "费用外键")
    private Integer chargeId;


    public String getBusinessCode() {
        return businessCode;
    }

    public CoffinConfirmEntity setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public Integer getServiceItemId() {
        return serviceItemId;
    }

    public CoffinConfirmEntity setServiceItemId(Integer serviceItemId) {
        this.serviceItemId = serviceItemId;
        return this;
    }

    public String getQrCode() {
        return qrCode;
    }

    public CoffinConfirmEntity setQrCode(String qrCode) {
        this.qrCode = qrCode;
        return this;
    }

    public String getRandomCode() {
        return randomCode;
    }

    public CoffinConfirmEntity setRandomCode(String randomCode) {
        this.randomCode = randomCode;
        return this;
    }

    public Integer getChargeId() {
        return chargeId;
    }

    public CoffinConfirmEntity setChargeId(Integer chargeId) {
        this.chargeId = chargeId;
        return this;
    }
}